package org.example.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.Boat;
import org.example.entity.Collection;
import org.example.entity.History;

import java.util.List;

public interface CollectionService extends IService<Collection> {
    //根据用户id,类型id和外键id添加收藏
    Integer addCollection(Integer uid,Integer type,Integer cid);

    Object showList(Integer type, Integer id, Integer uid);//根据用户id查询收藏列表
}
